package com.sdcqjy.property.presenter.contract;

import com.sdcqjy.property.base.BaseService;

/**
 * Created by 磁磁帅 on 2018/4/7.
 * 功能：
 */
public class a {
    public static final String Host = BaseService.IP;
    /**
     * categoryID：9 10 11   （产股权类，增资类，资产类）不要评论与详情
     * categoryID  12 13 14 产股权类模板，增资类模板资产类模板 不要评论与详情
     * categoryID 15 16 17 也不要评论与详情 山东雷诺下面按钮
     * 首页问号处文档，请求categoryID：8
     * <p>
     * 各种文档接口
     * 文档列表\文档详情 都可以使用此接口
     * {"documentName":"磊诺","categoryID":"1","projectID":"1"}
     */
    public static final String GetWordList = Host + "/leinuo/document/queryProjectAndDocument";
    public static final String GetWordTitle = Host + "/leinuo/document/getDocumentTitle";
    /**
     * 获取详情
     */
    public static final String GetDetails = Host + "/leinuo/document/queryProjectAndDocument";
    /**
     * 文件下载地址
     * http://39.107.247.32:8080/leinuo/templateDownLoad?path=C:\Users\Administrator\Desktop\linux\1.txt
     * http://39.107.247.32:8080/leinuo/templateDownLoad?path=/leinuo/resource/（暂定）山东方圆建筑工程检测中心所属鲁AHA971别克轿车.docx
     */
    public static final String FileHost = Host + "/leinuo/templateDownLoad?path=";
    /**
     * 发送微信code
     */
    public static final String SendWChatCode = Host + "/wechat/getWebChatToken";
    /**
     * 评论列表
     * http://localhost:8080/documentComment/document/queryDocumentCommentList
     */
    public static final String GetCommentList = Host + "/documentComment/document/queryDocumentCommentList";
    /**
     * 提交评论
     */
    public static final String SendComment = Host + "/documentComment/document/insertDocumentComment";
    /**
     * 轮播图
     */
    public static final String GetImageList = Host + "/imageSource/queryImageList";

    /**
     * 文档关注
     * {
     * "documentID": "11",  文档ID
     * "userID": "5",  用户ID
     * "isAttention": "1", 是否关注：1 关注
     * "isRead": "1"  是否阅读：1 关注
     * }
     */
    public static final String Atten = Host + "/documentUserRelation/document/insertDocumentUserRelation";
    /**
     * 是否关注过
     */
    public static final String IsAtten = Host + "/documentUserRelation/document/queryProjectAndDocument";
    /**
     * 法律法规
     *///TODO
    public static final String Law = "http://39.107.247.32:8082/index.html";
    /**
     * 短信验证，使用腾讯sms
     * http://127.0.0.1:8080/user/smsToLogin
     * 请求：
     * {"telePhone":"18615641303"}
     */
    public static final String SmsCode = Host + "/leinuo/user/smsToLogin";
    /**
     * 注册：
     * http://127.0.0.1:8080/leinuo/user/registerUser
     * 请求：
     * {
     * smsCode
     * "userName": "zhangsan",  //用户名
     * "passWord": "123456",    //密码
     * "email": "445847992@qq.com", //邮箱
     * "telePhone": "1234556",//电话
     * "headImageUrl": "D://workspace//DFB6E64A13E1D2526ED7979CA310A93F.jpg"//图像
     * }
     */
    public static final String RegisterUser = Host + "/leinuo/user/registerUser";
    public static final String Login = Host + "/leinuo/user/login";
    public static final String CodeLogin = Host + "/leinuo/user/telQuickLogin";
    /**
     * 绑定邮箱，更换头像，修改密码昵称等
     * <p>
     * http://127.0.0.1:8080/leinuo/user/updateUserInformation
     * <p>
     * 请求参数：
     * {
     * "id": "12",
     * "userName": "zhangsan",
     * "passWord": "123456",
     * "telePhone": "1234556",
     * "headImageUrl": "D://workspace//DFB6E64A13E1D2526ED7979CA310A93F.jpg"
     * }
     */
    public static final String UpdateUserInfo = Host + "/leinuo/user/updateUserInformation";
    /**
     * file
     */
    public static final String UpdateIcon = Host + "/leinuo/addTemplateUpLoadHeadImage";
    public static final String ReadNumb = Host + "/documentUserRelation/document/queryDocumentUserRelationCountsByID";
    //{"userID":"51","documentID":"11"}
    public static final String SendEmail = Host + "/email/sendEmail";
    public static final String GetMsgList = Host + "/message/queryMessageByUser";
    public static final String GetMsgDetails = Host + "/message/queryMessageByID";
    public static final String GetMsgNumb = Host + "/message/queryMessageCounts";
    public static final String UpdateMessage = Host + "/message/updateMessage";
    public static final String UpdateApp = Host + "/leinuo/appNeedUpLoad";
    //法律法规1
    // 查询列表    参数：{"title":"第四部"}    title：目录模糊查询
    public static final String LawRegulations = Host + "/readLawBookTitle/readLawBookTitleList";
    //readLawBookTitle/readLawBookByTitleByParent?id=44
    public static final String LawRegulations2 = Host + "/readLawBookTitle/readLawBookByTitleByParent";
    public static final String LawRegulationsDetails = Host + "/readLawBookTitle/queryLawBookTitleByID";
    //获取书签{"lawID":"442","userID":"38"}
    public static final String GetBookMark = Host + "/readLawBookDetail/readBookSignByUser";
    //添加书签{"lawID":"442","userID":"38"}
    public static final String AddBookMark = Host + "/readLawBookDetail/insertLawBookSign";
    //删除书签{"lawID":"442","userID":"38"}
    public static final String DelBookMark = Host + "/readLawBookDetail/deleteLawBookDetail";

}
